package com.southwind.springboottest.study.java中流式操作;

import org.apache.tomcat.util.http.fileupload.util.Streams;

import java.util.stream.Stream;

/**
 * @description：TODO
 * @author： HXG
 * @create： 2024/3/19 15:37
 */
public class StreamDemo5 {
    public static void main(String[] args) {
        //一堆零散数据
        Stream.of(1,2,3,4,5,6).forEach(s -> System.out.println(s));
        Stream.of("a","b","c","d","e","f").forEach(s -> System.out.println(s));
    }
}
